<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI旅行助手 - 智能行程规划</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }

        body {
            background-color: #f8fafc;
            color: #334155;
            line-height: 1.6;
        }

        /* 欢迎区域 */
        .welcome-content {
            padding: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .welcome-banner {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            border-radius: 12px;
            padding: 40px;
            color: white;
            margin-bottom: 30px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            text-align: center;
        }

        .welcome-banner h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .welcome-banner p {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 25px;
        }

        .banner-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            border: none;
        }

        .btn i {
            font-size: 1.1rem;
        }

        .btn-primary {
            background: white;
            color: #1e88e5;
        }

        .btn-primary:hover {
            background: #f0f7ff;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .btn-secondary {
            background: rgba(255,255,255,0.2);
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
        }

        .btn-secondary:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }

        /* 特色服务 */
        .feature-section {
            margin: 50px 0;
        }

        .section-title {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 30px;
            color: #1e293b;
            position: relative;
        }

        .section-title:after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background: #3b82f6;
            margin: 15px auto;
            border-radius: 2px;
        }

        .feature-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }

        .feature-card {
            background: white;
            border-radius: 12px;
            padding: 30px 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-align: center;
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .card-icon {
            width: 70px;
            height: 70px;
            background: #e0f2fe;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: #0369a1;
            font-size: 30px;
            transition: all 0.3s ease;
        }

        .feature-card:hover .card-icon {
            background: #3b82f6;
            color: white;
            transform: scale(1.1);
        }

        .feature-card h3 {
            margin-bottom: 15px;
            color: #1e293b;
            font-size: 1.3rem;
        }

        .feature-card p {
            color: #64748b;
            font-size: 1rem;
        }

        /* 热门目的地 */
        .popular-destinations {
            margin: 60px 0;
        }

        .destination-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }

        .destination-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
        }

        .destination-card:hover {
            transform: translateY(-5px);
        }

        .card-image {
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
        }

        .card-overlay h3 {
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        .card-content {
            padding: 20px;
        }

        .card-content p {
            color: #64748b;
            margin-bottom: 15px;
        }

        .card-stats {
            display: flex;
            justify-content: space-between;
            color: #64748b;
            font-size: 0.9rem;
        }

        .card-stats span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .welcome-banner {
                padding: 30px 20px;
            }

            .welcome-banner h1 {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .feature-cards, .destination-cards {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
<div class="welcome-content">
    <div class="welcome-banner">
        <h1>欢迎使用AI旅行助手</h1>
        <p>智能规划您的旅行路线，让每一次出行都成为美好回忆</p>
        <div class="banner-buttons">
            <button class="btn btn-primary" onclick="showAIPage()">
                <i class="fas fa-robot"></i> 开始咨询AI助手
            </button>
            <button class="btn btn-secondary">
                <i class="fas fa-map-marked-alt"></i> 查看旅行路线
            </button>
        </div>
    </div>

    <div class="feature-section">
        <h2 class="section-title">我们的特色服务</h2>
        <div class="feature-cards">
            <div class="feature-card">
                <div class="card-icon">
                    <i class="fas fa-robot"></i>
                </div>
                <h3>AI智能规划</h3>
                <p>基于人工智能技术，为您量身定制旅行路线，优化行程安排</p>
            </div>
            <div class="feature-card">
                <div class="card-icon">
                    <i class="fas fa-hotel"></i>
                </div>
                <h3>酒店智能推荐</h3>
                <p>根据您的预算和偏好，推荐最适合的住宿选择</p>
            </div>
            <div class="feature-card">
                <div class="card-icon">
                    <i class="fas fa-route"></i>
                </div>
                <h3>行程路线规划</h3>
                <p>智能生成最优旅行路线，节省时间，提高旅行效率</p>
            </div>
            <div class="feature-card">
                <div class="card-icon">
                    <i class="fas fa-comments"></i>
                </div>
                <h3>24小时在线咨询</h3>
                <p>随时解答您的旅行疑问，提供专业建议</p>
            </div>
        </div>
    </div>

    <div class="popular-destinations">
        <h2 class="section-title">热门旅行目的地</h2>
        <div class="destination-cards">
            <div class="destination-card">
                <div class="card-image" style="background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./image/YunNan.jpg');">
                    <div class="card-overlay">
                        <h3>云南大理</h3>
                    </div>
                </div>
                <div class="card-content">
                    <p>苍山洱海，风花雪月，感受白族文化</p>
                    <div class="card-stats">
                        <span><i class="fas fa-calendar-day"></i> 5-7天</span>
                        <span><i class="fas fa-users"></i> 情侣/家庭</span>
                    </div>
                </div>
            </div>
            <div class="destination-card">
                <div class="card-image" style="background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./image/HaiNan.jpg');">
                    <div class="card-overlay">
                        <h3>海南三亚</h3>
                    </div>
                </div>
                <div class="card-content">
                    <p>阳光沙滩，椰林树影，享受热带风情</p>
                    <div class="card-stats">
                        <span><i class="fas fa-calendar-day"></i> 4-6天</span>
                        <span><i class="fas fa-users"></i> 家庭/朋友</span>
                    </div>
                </div>
            </div>
            <div class="destination-card">
                <div class="card-image" style="background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./image/XiZhang.jpg');">
                    <div class="card-overlay">
                        <h3>西藏拉萨</h3>
                    </div>
                </div>
                <div class="card-content">
                    <p>圣洁高原，藏地文化，洗涤心灵的旅程</p>
                    <div class="card-stats">
                        <span><i class="fas fa-calendar-day"></i> 7-10天</span>
                        <span><i class="fas fa-users"></i> 朋友/独自</span>
                    </div>
                </div>
            </div>
            <div class="destination-card">
                <div class="card-image" style="background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('./image/SiChuan.jpg');">
                    <div class="card-overlay">
                        <h3>四川九寨沟</h3>
                    </div>
                </div>
                <div class="card-content">
                    <p>人间仙境，五彩池水，感受大自然的鬼斧神工</p>
                    <div class="card-stats">
                        <span><i class="fas fa-calendar-day"></i> 3-5天</span>
                        <span><i class="fas fa-users"></i> 家庭/朋友</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    function showAIPage() {
        window.location.href = "AI.html";
    }

    // 为"查看旅行路线"按钮添加点击事件
    document.querySelector('.btn-secondary').addEventListener('click', function() {
        alert('即将为您展示热门旅行路线！');
    });

    // 为目的地卡片添加点击事件
    document.querySelectorAll('.destination-card').forEach(card => {
        card.addEventListener('click', function() {
            const destination = this.querySelector('h3').textContent;
            alert(`您选择了${destination}，正在为您加载详细信息...`);
            // 实际应用中这里可以跳转到目的地详情页面
        });
    });
</script>
</body>
</html>